SchemaRoot = "schemaroot" # Root of schema of config schema
SchemaConfigRoot = "schemaconfigroot" # Root of config schema

# Wildcard for config key
# If key could not be found in schema
# Or key could not reg matched any key in schema
# It will fall in SchemaAnyOther rule
SchemaAnyOther = "schemaanyother"

# Schema Keys

# Key Start #
SchemaType = "schematype"
SchemaRule = "schemarule"
SchemaInherit = "schemainherit"
# Key End #

SchemaKeys = [
    SchemaType,
    SchemaRule,
    SchemaInherit
]

# Schema Types

# To add a new type:
#    1. Define type name here
#    2. Then add type name to "SchemaTypes" list
#    3. Add type define in SchemaType.py

# Type Start #
SchemaTypeDict = 0x01
SchemaTypeArray = 0x02
SchemaTypeString = 0x04
SchemaTypeInteger = 0x08
SchemaTypeBool = 0x10
# Type End #

SchemaTypes = [
    SchemaTypeDict,
    SchemaTypeArray,
    SchemaTypeString, 
    SchemaTypeInteger,
    SchemaTypeBool
]
